package com.changgou.exception;

import com.changgou.entity.ExceptionResultCode;

public class BusinessException extends RuntimeException {

    private ExceptionResultCode exceptionResultCode;

    public BusinessException(ExceptionResultCode exceptionResultCode) {
        super();
        this.exceptionResultCode = exceptionResultCode;
    }

    public ExceptionResultCode getExceptionResultCode() {
        return exceptionResultCode;
    }
}
